package cn.uniquesoft.vo.base;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @创建人 zyx
 * @创建时间 2017年6月21日 下午6:02:43
 * @描述 对象基类
 */
@SuppressWarnings("serial")
public class BaseVO extends PageVO {

	private int		iid;
	private int		ipid;
	private String	cname;
	private int		icreator;
	private String	ccreator;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date	dcreator;//addDate
	private int		imodify;
	private String	cmodify;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date	dmodify;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date enddate;
	
	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public int getIid() {
		return iid;
	}

	public void setIid(int iid) {
		this.iid = iid;
	}

	public int getIpid() {
		return ipid;
	}

	public void setIpid(int ipid) {
		this.ipid = ipid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public int getIcreator() {
		return icreator;
	}

	public void setIcreator(int icreator) {
		this.icreator = icreator;
	}

	public String getCcreator() {
		return ccreator;
	}

	public void setCcreator(String ccreator) {
		this.ccreator = ccreator;
	}

	public Date getDcreator() {
		return dcreator;
	}

	public void setDcreator(Date dcreator) {
		this.dcreator = dcreator;
	}

	public int getImodify() {
		return imodify;
	}

	public void setImodify(int imodify) {
		this.imodify = imodify;
	}

	public String getCmodify() {
		return cmodify;
	}

	public void setCmodify(String cmodify) {
		this.cmodify = cmodify;
	}

	public Date getDmodify() {
		return dmodify;
	}

	public void setDmodify(Date dmodify) {
		this.dmodify = dmodify;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "\"iid\":\"" + iid + "\", \"ipid\":\"" + ipid + "\", \"cname\":\"" + cname + "\", \"icreator\":\"" + icreator + "\", \"ccreator\":\"" + ccreator + "\", \"dcreator\":\"" + dcreator + "\", \"imodify\":\"" + imodify + "\", \"cmodify\":\"" + cmodify + "\", \"dmodify\":\"" + dmodify + "\"  ";
	}

}
